//
//  DDMediaIV.h
//  dingdang
//
//  Created by 阮 沧晖 on 15/7/12.
//  Copyright (c) 2015年 阮 沧晖. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DDTagVC.h"
#import <AudioToolbox/AudioToolbox.h>
#import <AVFoundation/AVFoundation.h>
@interface DDMediaIV : UIImageView
{
    DDTagVC *tag;
}
@property (retain, nonatomic) AVAudioPlayer *avPlay;
@property(nonatomic,copy)void(^popMediaView)(CGPoint point);

//查询条件
@property(nonatomic,strong)NSString *qid;
@property(nonatomic,strong)NSString *tagIndex;
@property(nonatomic,strong)NSArray *tags;


@property (nonatomic,strong)NSMutableArray *diplayTags;
@property(nonatomic,assign)NSInteger orderIndex;


@property(nonatomic,assign)BOOL isOnlyRead;
@property(nonatomic,strong)NSString *url;
@property(nonatomic,strong)NSMutableArray *photos;
- (void)addMedias;

-(void)addMedia:(NSString *)title type:(NSString *)type x:(double)x y:(double)y url:(NSString *)url;
@end
